<!DOCTYPE html>
<%@ page language="java" contentType="text/html; charset=utf-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<c:set var="path" value="${pageContext.request.contextPath }"></c:set>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>CMDB-添加角色</title>
    <link href="${path}/css/style.css" rel="stylesheet" type="text/css">
    <link href="${path}/sys/role_management/add_role.css" rel="stylesheet" type="text/css">
    <link href="${path}/common/plugins/bootstrap/css/bootstrap.css" rel="stylesheet" type="text/css">
    <script src="${path}/js/jquery-1.7.2.min.js" type="text/javascript"></script>
    <script src="${path}/js/user_js.js"></script>
    <script src="${path}/common/plugins/bootstrap/js/bootstrap.js"></script>
    <script src="${path}/common/plugins/layer/layer.js"></script>
    <script src="add_role.js"></script>
</head>
<body>
<input type="hidden" id="roleId" value=${role.roleId} />
<div class="content_condition oneContent">
    <div class="content_group">
        <div class="span5">
            <label class="control-label">角色名:</label>
            <div class="controls">
                <input id="roleName" type="text" value=${role.roleName} >
                <span class="redbtn">*</span>
            </div>
        </div>
    </div>
    
    <div class="content_group">
        <div class="span5">
            <label class="control-label">角色状态域:</label>
            <div class="controls">
                <select id="state" name="state">
                		<option <c:if test="${role.state==null||roleList.state=='9ia'}">selected</c:if>>启用</option>
                    	<option  <c:if test="${role.state=='9ib'}">selected</c:if>>关闭</option>
                </select>
                <span class="redbtn">*</span>
            </div>
        </div>
    </div>
    
    
    
     <div class="last_group">
        <div class="span5">
            <label class="control-label">备注:</label>
            <div class="controls">
                <textarea id="remark" >${role.remark}</textarea>
            </div>
        </div>
    </div>
   
</div>
<div class="btn_bottom">
    <div class="spanbtn">
    	<c:if test="${role.roleName==null}">
       		<button class="press_btn1 Keep"><i class="save top_current"></i>保存</button>
    	</c:if>
    	<c:if test="${role.roleName!=null}">
       		<button class="press_btn1 Sub"><i class="save top_current"></i>提交</button>
    	</c:if>
        <button class="press_btn2 Close"><i class="del top_current"></i>关闭</button>
    </div>
</div>

</body>
<script type="text/javascript">

</script>
</html>